package com.rr.entity;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author zhuangcanrun
 * @Date 2022/03/15/22:26
 * @description
 **/
@Component
@ConfigurationProperties(prefix = "schoolclass")
@Configuration
@Getter
@Setter
public class SchoolClass {
    private List<Person> personList;
    private Integer classNumber;
}